package cn.kgc.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: mosin
 * @version: v1.0  2022/5/18
 */
@Controller
@RequestMapping("hello")
public class HelloController {

    @RequestMapping("h1")
    @ResponseBody
    public  Object  test01(){
        System.out.println("前端请求已接收");
        return "hello springboot";
    }

}
